fix(help): hide plural aliases from help output#441
Merged
Conversation
Plural shortcut commands (issues, orgs, logs, etc.) and whoami cluttered the help output alongside the canonical grouped commands. Uses Stricli's hideRoute to suppress them from help and completions while keeping them functional. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Contributor
Semver Impact of This PR🟢 Patch (bug fixes) 📋 Changelog PreviewThis is how your changes will appear in the changelog. New Features ✨Init
Issue List
Other
Bug Fixes 🐛Dsn
Init
Other
Documentation 📚
Internal Changes 🔧Init
Tests
Other
Other
🤖 This preview updates automatically when you update the PR. |
Contributor
Codecov Results 📊✅ 111 passed | Total: 111 | Pass Rate: 100% | Execution Time: 0ms 📊 Comparison with Base Branch
✨ No test changes detected All tests are passing successfully. ✅ Patch coverage is 100.00%. Project has 1100 uncovered lines. Coverage diff@@ Coverage Diff @@
## main #PR +/-##
==========================================
+ Coverage 95.08% 95.09% +0.01%
==========================================
Files 165 165 —
Lines 22390 22402 +12
Branches 0 0 —
==========================================
+ Hits 21289 21302 +13
- Misses 1101 1100 -1
- Partials 0 0 —Generated by Codecov Action |
betegon
added a commit
that referenced
this pull request
Mar 17, 2026
## Summary Each command group now shows its plural shortcut in the help text. For example, `sentry issue` now mentions that `sentry issues` is an alias for `sentry issue list`. Follows up on #441 which hid the aliases from the top-level help. ## Test plan - `sentry issue` — shows "Alias: \`sentry issues\` → \`sentry issue list\`" - Same for org, project, repo, team, log, span, trace, trial Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Hides plural shortcut commands (
sentry issues,sentry logs, etc.) andsentry whoamifrom help output using Stricli'shideRoute. The commands still work — they just don't show up insentry,sentry --help, or shell completions.Test plan
sentry— no plural aliases listedsentry --help— samesentry issues— still works